package cn.elead.chaos.sso.core.user;

import java.io.Serializable;

/**
 * 登录用户
 * 
 * @author luopeng
 *
 */
public class LoginUser implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 用户ID
	 */
	private String userId;

	/**
	 * 登录名称
	 */
	private String loginName;

	/**
	 * 用户名称
	 */
	private String userName;

	/**
	 * 用户邮箱
	 */
	private String email;
	
	/**
	 * token
	 */
	private String token;
	
    /** 用户头像 */
    private String avatar;
    
    /** 部门 */
    private String deptName;
    
    /** 租户 */
    private String tenant;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}
	
	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	
	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getTenant() {
		return tenant;
	}

	public void setTenant(String tenant) {
		this.tenant = tenant;
	}

	@Override
	public String toString() {
		return "LoginUser [userId=" + userId + ", loginName=" + loginName + ", userName=" + userName + ", email=" + email + ", token=" + token + ", avatar=" + avatar + ", deptName=" + deptName
				+ ", tenant=" + tenant + "]";
	}

	
}
